<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="Content-Language" content="zh-CN">
    <title>资源列表</title>
    <link href="__PUBLIC__/Admin/css/admin2.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="__PUBLIC__/Admin/css/jquery.bettertip.css" type="text/css" media="screen">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/jquery-ui.custom.css">
</head>
<body>
<!--左侧文件-->
<div id="main">
    <div class="yui">
        <div class="content">
            <div id="divMain">
                <div class="divHeader">
                    资源列表
                </div>
                <div class="SubMenu">
                </div>
                <div id="divMain2">
                    <form class="search" method="get" action="{:U('Admin/Share/index')}">
                        <p>
                            搜索:
                            <input id="name" name="keyword" style="width:150px;" type="text" value="">
                            <input type="submit" class="button" value="提交">
                            <input type="button" class="button" value="资源添加" onclick='location.href="{:U('admin/share/editor')}"'>
                        </p>
                    </form>
                    <table width="100%" border="1" cellspacing="0" cellpadding="0" class="tableBorder tableBorder-thcenter">
                        <tr>
                        <tr class="color1">
                            <th style="width:15%">
                                主题
                            </th>
                            <th>
                                描述
                            </th>
                            <th>
                                操作
                            </th>
                        </tr>
                        <foreach name="list" item="vo" key="k">
                            <tr class="color2">
                                <td align="center">
                                    {$vo['name']}
                                </td>
                                <td align="center">
                                    {$vo['describe']}
                                </td>
                                <td align="center">
                                    <a href="{:U('Admin/Share/editor',array('id'=>$vo['id']))}" class="button"><img src="__PUBLIC__/Admin/images/page_edit.png" alt="可视编辑" title="可视编辑" width="16"></a>&nbsp;<a href="{:U('Admin/Share/delete',array('id'=>$vo['id']))}" class="button"><img src="__PUBLIC__/Admin/images/delete.png" alt="彻底删除" title="彻底删除" width="16"></a>
                                </td>
                            </tr>
                        </foreach>
                        <tr>
                            <td colspan="5">
                                <div class="pagination">
                                    <tr>
                                        <td colspan="5">
                                            <div class="pagination">
                                                {$page}
                                            </div>
                                        </td>
                                    </tr>
                                </div>
                             </td>
                        </tr>
                    </table>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>